package com.dcy.znoa.service.publiz;

import com.dcy.znoa.common.exception.BusinessException;
import com.dcy.znoa.common.util.pojo.JsonForList;
import com.dcy.znoa.controller.publiz.model.canteen.SelectCanteenModel;
import com.dcy.znoa.domain.publiz.Canteen;

public interface CanteenService {

    int insert(Canteen var1) throws BusinessException;

    int updateById(Canteen var1);//修改和逻辑删除都用这个方法实现

//    JsonForList selectList(SelectCanteenMenuModel model) throws InvocationTargetException, IllegalAccessException;

    int deleteById(Long id) throws BusinessException;

    JsonForList selectList(SelectCanteenModel model);
}
